import { ref } from 'vue'
import{getParkInfoAPI}from '@/api/index'

function userParkInfos(){
  const parkInfo = ref({})

const getParkInfo = async()=> {
  const res = await getParkInfoAPI()
  // console.log(res);
  parkInfo.value = res.data
}

return {
  parkInfo,
  getParkInfo
}
}

export {userParkInfos}
